package com.woniuxy.myspringboot01.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author 佘赛飞
 * @create 2021-11-24 11:30 下午
 */
@Controller
public class MyController {
    @ResponseBody
    @RequestMapping("/test")
    public String test(){
        return "hello";
    }
}
